export interface Props {
  src: string;
  alt?: string;
  circled?: boolean;
  realTimePreview?: boolean;
  crossorigin?: "" | "anonymous" | "use-credentials";
  imageStyle?: string | import("vue").CSSProperties;
  imageClass?: string;
  options: Cropper.Options;
}
export interface Emits {
  (e: "cropend", v: CropendResult): void;
  (e: "ready", v: Cropper): void;
  (e: "cropendError"): void;
}

export type CropendResult = {
  imgBase64: string | ArrayBuffer;
  imgInfo: Cropper.Data;
};
